/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dotexe.webframework.core.datasources;

/**
 *
 * @author jovan.tomasevic
 */
public class DataSourceCollection extends java.util.ArrayList<DataSource> {
    public DataSource get(String name){
        for(int i = 0; i<this.size();i++){
            if(this.get(i).getName().equals(name))
                return this.get(i);
        }
        return null;
    }
}
